package com.atguigu.common.Exception;

public class NotStockException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private Long skuId;

    public NotStockException(Long skuId) {
        super("商品id为:"+skuId+"商品库存库存不足");
    }

    public NotStockException(){
        super();
    }


}
